package com.qili.service.supervisor.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.supervisor.SupervisorProjectForms;
import com.qili.entity.supervisor.dto.SupervisorProjectFromsDTO;
import com.qili.mapper.supervisor.SupervisorProjectFormsMapper;
import com.qili.service.supervisor.SupervisorProjectFormsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author Zhangshuo
 * @date 2020/11/16 10:24
 **/
@Service
public class SupervisorProjectFormsServiceImpl extends BaseServiceImpl<SupervisorProjectForms,String> implements SupervisorProjectFormsService {
    @Autowired
    private SupervisorProjectFormsMapper supervisorProjectFormsMapper;
    @Override
    public BaseMapper<SupervisorProjectForms, String> getMappser() {
        return supervisorProjectFormsMapper;
    }


    /**
     * @Author:Zhangshuo
     * @Description:
     * @param ids
     * @Date:20:52 2020-12-11
     */
    @Override
    public int deleteByProjectIds(String[] ids) {
        return supervisorProjectFormsMapper.deleteByProjectIds(ids);
    }
//    @Override
//    public SupervisorProjectFromsDTO getFormsDataById(SupervisorProjectFromsDTO supervisorProjectFormsDTO) {
//        return supervisorProjectFormsMapper.getFormsDataById(supervisorProjectFormsDTO);
//    }


}